package com.woniu.account.form;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class ResourceInsertForm {
    @NotEmpty(message = "资源名不能为空")
    private String resourceName;
    private String resourceUrl;
    private Integer parentId;
    @NotNull(message = "资源等级不能为空")
    private Integer level;
}

